package com.ssy.lingxi.platform.manage.entity.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.*;

/**
 * 语言实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/09/25
 */
@Data
@Entity
@Table(schema = "public", name = "man_language")
public class Language {

    @Id
    @ApiModelProperty("语言ID")
    private Long id;

    @Column(name = "name")
    @ApiModelProperty(value = "语言名字")
    private String name;

    @Column(name = "name_en")
    @ApiModelProperty(value = "英文名称")
    private String nameEn;

    @Column(name = "state")
    @ApiModelProperty(value = "状态：1.有效 0.无效")
    private Integer state;

    @Column(name = "img_url")
    @ApiModelProperty(value = "语言图标")
    private String imgUrl;

    @Column(name  = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;
}
